<?php
    session_start();
    session_unset();
    if(isset($_COOKIE[session_name()])){
        setcookie(session_name(),session_id(),time()-10);
    }
    session_destroy();
    echo "<script>window.location.href='http://localhost:8080/PHP-NEWS-RELEASE-SYSTEM/Application/index.php'</script>";
?>